package com.leased.response;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by shencx on 2017/8/4.
 */
public class CarsLocationResponse implements Serializable{

    private Integer id;

    /** 登录类型 */
    private Integer loginType;

    /** 登录时间 */
    private Date loginTime;

    /** 当前地址 */
    private String locateAddress;

    /** 帐号名称 */
    private String userName;

    /** 真实姓名 */
    private String realName;

    /** 车辆状态 */
    private Integer carStatus;

    /** 经度 */
    private Double longitude;

    /** 纬度 */
    private Double latitude;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getLoginType() {
        return loginType;
    }

    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getLocateAddress() {
        return locateAddress;
    }

    public void setLocateAddress(String locateAddress) {
        this.locateAddress = locateAddress;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getCarStatus() {
        return carStatus;
    }

    public void setCarStatus(Integer carStatus) {
        this.carStatus = carStatus;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("CarsLocationResponse{");
        sb.append("id=").append(id);
        sb.append(", loginType=").append(loginType);
        sb.append(", loginTime=").append(loginTime);
        sb.append(", locateAddress='").append(locateAddress).append('\'');
        sb.append(", userName='").append(userName).append('\'');
        sb.append(", realName='").append(realName).append('\'');
        sb.append(", carStatus=").append(carStatus);
        sb.append(", longitude=").append(longitude);
        sb.append(", latitude=").append(latitude);
        sb.append('}');
        return sb.toString();
    }
}
